package com.edu.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.edu.user.domain.dto.AppointmentDetailDTO;
import com.edu.user.domain.dto.AppointmentRequestDTO;
import com.edu.user.domain.po.Appointment;
import com.edu.user.domain.po.DoctorSchedule;
import com.edu.user.domain.vo.AppointmentVO;
import com.edu.user.utils.Result;

import java.util.List;

public interface AppointmentService extends IService<Appointment> {
    List<AppointmentVO> getAppointmentsByPatient(Long patientId);

    Result makeAppointment(Long schedulesId);

    boolean deleteAppointment(Long appointmentId);
    List<AppointmentDetailDTO> getAppointmentsByDoctor(Long doctorId);

    Result confirmAppointment(Long appointmentId);

    boolean deleteAppointmentByDoctor(Long appointmentId);
 //   Result cancelAppointment(Long appointmentId);
 void sendNotification(String status,Appointment appointment);
}
